package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;
import java.util.List;

public class Project {
    /** 项目编号 */
    private Long pId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String pName;

    /** 工程编号
     */
    @Excel(name = "工程编号")
    private String pNumber;

    /** 负责人 */
    @Excel(name = "负责人")
    private String pUsername;

    /** 项目成本 */
    @Excel(name = "项目成本")
    private Double pCost;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pDate;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private String pState;

    List<Integer> constructionsections;

    @Override
    public String toString() {
        return "Project{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pNumber='" + pNumber + '\'' +
                ", pUsername='" + pUsername + '\'' +
                ", pCost=" + pCost +
                ", pDate=" + pDate +
                ", pState='" + pState + '\'' +
                ", constructionsections=" + constructionsections +
                '}';
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }

    public String getpUsername() {
        return pUsername;
    }

    public void setpUsername(String pUsername) {
        this.pUsername = pUsername;
    }

    public Double getpCost() {
        return pCost;
    }

    public void setpCost(Double pCost) {
        this.pCost = pCost;
    }

    public Date getpDate() {
        return pDate;
    }

    public void setpDate(Date pDate) {
        this.pDate = pDate;
    }

    public String getpState() {
        return pState;
    }

    public void setpState(String pState) {
        this.pState = pState;
    }

    public List<Integer> getConstructionsections() {
        return constructionsections;
    }

    public void setConstructionsections(List<Integer> constructionsections) {
        this.constructionsections = constructionsections;
    }
}
